(global.webpackJsonp = global.webpackJsonp || []).push([ [ "components/receive-order-list-item/receive-order-list-item" ], {
    "03d9": function(e, t, r) {
        r.d(t, "b", function() {
            return i;
        }), r.d(t, "c", function() {
            return a;
        }), r.d(t, "a", function() {});
        var i = function() {
            var e = this, t = (e.$createElement, e._self._c, e.item.order_display_status ? e.highlightStatus.includes(e.item.order_display_status) : null), r = 3 !== e.item.order_status_tag ? e.transformStatus.includes(e.item.status) : null, i = 3 !== e.item.order_status_tag && r && 7 === e.item.status ? e.distanceKilo(e.item.distance) : null, a = 3 !== e.item.order_status_tag && r && 7 === e.item.status ? e.arriveTime(e.item) : null, n = 3 !== e.item.order_status_tag && r && 7 !== e.item.status ? e.transformText(e.item.status) || e.statusText(e.item) : null, s = 3 === e.item.order_status_tag || r ? null : e.receiveStatus.includes(e.item.status), u = 3 !== e.item.order_status_tag && !r && s ? e.statusText(e.item) : null, o = 3 === e.item.order_status_tag || r || s ? null : e.arriveTime(e.item), c = 3 === e.item.order_status_tag || r || s || !o ? null : e.arriveTime(e.item), l = e.isReceivePay(e.item) && 1 !== e.item.order_status_tag, m = l ? e.fenToYuan(e.item.price_total_fen) : null;
            e.$mp.data = Object.assign({}, {
                $root: {
                    g0: t,
                    g1: r,
                    m0: i,
                    m1: a,
                    m2: n,
                    g2: s,
                    m3: u,
                    m4: o,
                    m5: c,
                    m6: l,
                    m7: m
                }
            });
        }, a = [];
    },
    "11ae": function(e, t, r) {
        r.r(t);
        var i = r("4da2"), a = r.n(i);
        for (var n in i) [ "default" ].indexOf(n) < 0 && function(e) {
            r.d(t, e, function() {
                return i[e];
            });
        }(n);
        t.default = a.a;
    },
    "31b6": function(e, t, r) {
        r.r(t);
        var i = r("03d9"), a = r("11ae");
        for (var n in a) [ "default" ].indexOf(n) < 0 && function(e) {
            r.d(t, e, function() {
                return a[e];
            });
        }(n);
        r("c85d");
        var s = r("f0c5"), u = Object(s.a)(a.default, i.b, i.c, !1, null, "65e953b2", null, !1, i.a, void 0);
        t.default = u.exports;
    },
    "40ae": function(e, t, r) {},
    "4da2": function(e, t, r) {
        Object.defineProperty(t, "__esModule", {
            value: !0
        }), t.default = void 0;
        var i = r("48b8"), a = r("2224"), n = {};
        n.props = {
            item: {
                key: "item",
                required: !1,
                type: null,
                default: function() {
                    return {};
                }
            },
            boxStyle: {
                key: "boxStyle",
                required: !1,
                type: String,
                default: ""
            }
        }, n.setup = function(e, t) {
            var r = t.emit, n = function(e) {
                var t;
                return 3 === (null === (t = e.to_pay_info) || void 0 === t ? void 0 : t.to_pay_type);
            };
            return {
                fenToYuan: i.fenToYuan,
                isNewOrderList: a.isNewOrderList,
                highlightStatus: [ "退款中", "待支付" ],
                receiveStatus: [ 10, 13, 14, 2, 12 ],
                transformStatus: [ 1, 15, 16, 7 ],
                addressIconText: "卸",
                arriveTime: function(e) {
                    var t = 0;
                    return e.arrive_timestamp && (t = 1e3 * e.arrive_timestamp), new Date(t || Date.now()).getDay() !== new Date().getDay() ? e.arrive_date_time : e.arrive_time;
                },
                transformText: function(e) {
                    switch (e) {
                      case 1:
                        return "司机正在前往装货地";

                      case 15:
                        return "司机已到达装货地";

                      case 16:
                        return "司机已到达卸货地";

                      default:
                        return "";
                    }
                },
                statusText: function(e) {
                    var t = "司机已于".concat(e.unloading_time || e.complete_time, "完成卸货"), r = "".concat(e.complete_time, "完成订单");
                    switch (e.status) {
                      case 10:
                        return t;

                      case 13:
                      case 14:
                        return n(e) ? "司机已发送账单，请及时确认" : t;

                      case 2:
                      case 12:
                        return n(e) ? r : t;

                      default:
                        return "";
                    }
                },
                isReceivePay: n,
                distanceKilo: function(e) {
                    return e < 1e3 ? e + "m" : (e / 1e3).toFixed(1) + "km";
                },
                goOrderDetail: function() {
                    r("click");
                }
            };
        };
        var s = n;
        t.default = s;
    },
    c85d: function(e, t, r) {
        var i = r("40ae");
        r.n(i).a;
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "components/receive-order-list-item/receive-order-list-item-create-component", {
    "components/receive-order-list-item/receive-order-list-item-create-component": function(e, t, r) {
        r("543d").createComponent(r("31b6"));
    }
}, [ [ "components/receive-order-list-item/receive-order-list-item-create-component" ] ] ]);